﻿// Type: System.ComponentModel.BindableAttribute
// Assembly: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// Assembly location: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.dll

using System;
using System.Runtime;

namespace System.ComponentModel
{
    public enum BindingDirection
    {
        OneWay,
        TwoWay,
    }
    public enum BindableSupport
    {
        No,
        Yes,
        Default,
    }

    [AttributeUsage(AttributeTargets.All)]
    public sealed class BindableAttribute : Attribute
    {
        public static readonly BindableAttribute Yes;
        public static readonly BindableAttribute No;
        public static readonly BindableAttribute Default;

        public BindableAttribute(bool bindable){}

        public BindableAttribute(bool bindable, BindingDirection direction){}

        public BindableAttribute(BindableSupport flags){}

        public BindableAttribute(BindableSupport flags, BindingDirection direction){}

        public bool Bindable
        {
            get;
            set;
        }

        public BindingDirection Direction {get;set;}


    }
}
